﻿
CREATE PROCEDURE [dbo].[proc_Employee_WageTempZj_GetList_Count]
	(
		@CompanyId int,
		@EName nvarchar(50)
	)
AS
	Begin
									
		Select 
			Count(Id) 
			
		From
			Employee_WageTempZj
		Where 
			 (@CompanyId=0 or CompanyId = @CompanyId)
			 and EName Like '%'+@EName+'%'			    
 						    
	End
	RETURN